package com.lagou.factory;

import com.lagou.dao.AdminDao;
import com.lagou.dao.AdminDaoImp;

public class AdminDaoFactory {

    /**
     * 通过静态工厂模式创建AdminDaoImp类型的对象
     * @return
     */
    public static AdminDao getAdminDao(){
        return new AdminDaoImp();
    }
}
